package com.open.capacity.workflow3.service;

import com.open.capacity.commons.PageResult;
import com.open.capacity.workflow3.entity.BaseStamp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author
 * @email
 * @date 2023-11-02 21:21:15
 */
public interface BaseStampService {

    List<BaseStamp> getList(String keyWord);

    PageResult<BaseStamp> getPageList(Map<String, Object> params);

    BaseStamp getEntity(String keyValue);

    void save(String keyValue, BaseStamp stampEntity);

    void delete(String keyVlaue);

    void updateState(String keyValue, int state);

    void getImg(String keyValue, HttpServletResponse response, HttpServletRequest request);

    Boolean equalPassword(String keyValue, String password);
}

